The read-only database is an alternative to Sharing notes. Although the share functionality works pretty well to publish pages to the Internet in a wiki, blog-like format it does not offer the full functionality behind Trilium (such as the advanced Search or the interactivity behind Collections or the various Note Types).
When the database is in read-only mode, the Trilium application can be used as normal, but editing is disabled and changes are made in-memory only.
ERROR: read-only DB ignored will
be shown in the logs.First, make sure the database is initialized (e.g. the first set up is
complete). Then modify the config.ini by
looking for the [General] section and adding
a new readOnly field:
[General]
readOnly=true
If your server is already running, restart it to apply the changes.
Similarly, to disable read-only remove the line or set it to false.